Skip to content

feat: use managed App capacity for public organization backfill - #471

Merged
hannesrudolph merged 4 commits into
mainfrom
feat/managed-public-org-catalog-20261203
Dec 3, 2026
Merged

hannesrudolph merged 4 commits into
mainfrom
feat/managed-public-org-catalog-20261203

Conversation

@hannesrudolph

Copy link
Copy Markdown
Member

What Problem This Solves

An operator could have thousands of GitHub App requests available while a public-catalog refresh failed on the shared anonymous quota. Since a grant lasts five minutes, the reader needs enough capacity to renew it, not just enough for one successful request.

User Impact

Public organization discovery and renewal now use the existing installation helper without adding permissions. The public directory and the installation's selected repository list remain separate, so a public repository is never described as installation-selected unless GitHub actually listed it there.

Why This Change Was Made

The collector pins one installation token for both inventories and still requires two complete matching public directory passes. Preflight reports the quota evidence from those actual reads and their probes. Nonflagship backfill can now rotate through 16 repositories in the same 25-second allowance, using the existing GraphQL reserve and writer.

Evidence

Two managed directory traversals returned the same 98 public OpenClaw repositories as the previously qualified catalog, while the installation selected zero public OpenClaw repositories. A native preflight recorded three metadata reads and three quota probes on the App's 20,000-request REST resource. An offline poll test separately verified that the App's GraphQL client hydrated nonflagship parents above its reserve and refused the content request at the half-window floor.

@clawsweeper

clawsweeper Bot commented Dec 3, 2026

Copy link
Copy Markdown

🦞👀
Pull request received.

@clawsweeper clawsweeper Bot added P2 Normal priority bug or improvement with limited blast radius. impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. labels Dec 3, 2026
@hannesrudolph
hannesrudolph marked this pull request as ready for review December 3, 2026 09:33
@hannesrudolph
hannesrudolph merged commit 5abdccb into main Dec 3, 2026
15 checks passed
@hannesrudolph
hannesrudolph deleted the feat/managed-public-org-catalog-20261203 branch December 3, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. P2 Normal priority bug or improvement with limited blast radius.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant